<template>
    <div id="index">
        <router-view class="router-view" />
    </div>
</template>
<style lang="scss" scoped>
.index {
  /*切换样式出错处理*/
  // height: 100%;
  .router-view {
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }
}
</style>